<?php 
namespace App\Http\Requests;

use App\Http\Requests\Request;
use Validator;

class CompanyInfoRequest extends Request{
	
	public function authorize()
	{
		return TRUE;
	}
	
	protected $messages=[
			'Name.required'=>'名称必须',
			'Name.max'=>'名称字符长度不能超过15个字符！',

	];
	
	
	
	public function rules()
	{
		
		return [
				'Name' => 'required|max:15',

			
		];
	}
	
	public function messages()
	{
		return $this->messages;
	}
	
}






?>